package edu.unindra.raport.gui;

import java.awt.Color;
import java.awt.Font;

import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.LayoutStyle.ComponentPlacement;

import edu.unindra.raport.template.PanelBackGround;
import edu.unindra.raport.template.PanelTransparan;
import usu.widget.Button;
import usu.widget.Panel;

public class FormDetailMenuHome extends Panel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2035127675659315226L;

	private JLabel jLbl1;
	private JLabel jLbl2;

	public FormDetailMenuHome() {
		initComponents();
	}

	private void initComponents() {
		setOpaque(false);

		jLbl1 = new JLabel();
		jLbl2 = new JLabel();

		jLbl1.setFont(new Font("Tahoma", Font.BOLD, 23));
		jLbl1.setForeground(Color.BLACK);
		jLbl1.setText("SELAMAT DATANG");

		jLbl2.setFont(new Font("Tahoma", Font.BOLD, 30));
		jLbl2.setForeground(Color.BLACK);
		jLbl2.setText("RAPORT APLIKASI");
		
		JLabel lblNewLabel = new JLabel("");
		lblNewLabel.setIcon(new ImageIcon(FormDetailMenuHome.class.getResource("/edu/unindra/raport/image/logo.png")));

		javax.swing.GroupLayout panelTransparan2Layout = new javax.swing.GroupLayout(
				this);
		panelTransparan2Layout.setHorizontalGroup(
			panelTransparan2Layout.createParallelGroup(Alignment.TRAILING)
				.addGroup(panelTransparan2Layout.createSequentialGroup()
					.addGap(41)
					.addComponent(lblNewLabel)
					.addGroup(panelTransparan2Layout.createParallelGroup(Alignment.LEADING)
						.addGroup(panelTransparan2Layout.createSequentialGroup()
							.addGap(18)
							.addComponent(jLbl2))
						.addGroup(panelTransparan2Layout.createSequentialGroup()
							.addGap(36)
							.addComponent(jLbl1)))
					.addGap(62))
		);
		panelTransparan2Layout.setVerticalGroup(
			panelTransparan2Layout.createParallelGroup(Alignment.LEADING)
				.addGroup(panelTransparan2Layout.createSequentialGroup()
					.addGap(98)
					.addGroup(panelTransparan2Layout.createParallelGroup(Alignment.LEADING)
						.addComponent(lblNewLabel)
						.addGroup(panelTransparan2Layout.createSequentialGroup()
							.addGap(17)
							.addComponent(jLbl1)
							.addPreferredGap(ComponentPlacement.UNRELATED)
							.addComponent(jLbl2, GroupLayout.PREFERRED_SIZE, 86, GroupLayout.PREFERRED_SIZE)))
					.addContainerGap(113, Short.MAX_VALUE))
		);
		this.setLayout(panelTransparan2Layout);
		// panelBackground.add(panelTransparan, java.awt.BorderLayout.CENTER);

	}
}
